val numbers = List(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
 numbers.partition(_ %3== 0)
val s=(1 to 9, 3)
s
(10 *  )(2)

implicit def foo(s:String):Int = Integer.parseInt(s)
implicit def foo2(s:Int):String = s.toString
def add(a:Int, b:Int) = a+b
def  add1(a:String,b:String)=a.concat(b)
add("100",8)
add1("aa",123)
/*
import spray.json._
import DefaultJsonProtocol._
val source = """{ "some": "JSON source" }"""
val jsonAst = source.parseJson*/


//implicit def strToInt(x: String) = Integer.parseInt(x)

class Container[A <% Int] { def addIt(x: A) = 123 + x }

(new Container[String]).addIt("123")


